package com.xxp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    //用户id
    private Integer id;
    //用户名称
    private String name;
    //用户名
    private String username;
    //年龄
    private Integer age;
    //性别
    private String sex;
    //联系方式
    private String phone;
    //地址
    private String address;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updatetime;
    //余额
    private Integer account;
    //状态
    private Integer status;
}
